package ${packageName};

import ${packageName}.common.annotation.JupiterCloudApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@EnableFeignClients
@JupiterCloudApplication
@SpringBootApplication
// @SpringBootApplication(exclude={DataSourceAutoConfiguration.class, DataSourceHealthContributorAutoConfiguration.class, DynamicDataSourceAutoConfiguration.class})
@EnableGlobalMethodSecurity(prePostEnabled = true)
@MapperScan("${packageName}.mapper")
public class ${applicationName}Application {

    public static void main(String[] args) {
        SpringApplication.run(${applicationName}Application.class, args);
    }
}
